\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip}{\section{Calculate\-Ip Class Reference}
\label{classsupport_1_1calculate_i_p_1_1_calculate_ip}\index{Calculate\-Ip@{Calculate\-Ip}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_ac775ee34451fdfa742b318538164070e}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\item 
def \hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_a228865dceefdafbd8dd3456f85057ef2}{get\-\_\-net\-\_\-size}
\item 
def \hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_a72f14200d42e5d829a6770dd8eb85a95}{calculate}
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_afd65cf072a93c93ad52b9f25b341e10b}{ip}
\item 
\hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_a5d76cc2129e79ba1941d2cc2f53b9e8e}{mask}
\item 
\hyperlink{classsupport_1_1calculate_i_p_1_1_calculate_ip_a3614d530ca5362d637090250616cf0d3}{ip\-List}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Calculates the subnet IP and Netmask from the given IP and Netmask

Keyword arguments:
ip -- Host IP
netmask -- Host Netmask
\end{DoxyVerb}
 

Definition at line 12 of file calculate\-I\-P.\-py.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_ac775ee34451fdfa742b318538164070e}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-init\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{ip, }
\item[{}]{netmask}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_ac775ee34451fdfa742b318538164070e}
\begin{DoxyVerb}Initializer for CalculateIP Class.\end{DoxyVerb}
 

Definition at line 20 of file calculate\-I\-P.\-py.



\subsection{Member Function Documentation}
\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_a72f14200d42e5d829a6770dd8eb85a95}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!calculate@{calculate}}
\index{calculate@{calculate}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}def calculate (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_a72f14200d42e5d829a6770dd8eb85a95}
\begin{DoxyVerb}Return IP's that respond to ARP Request\end{DoxyVerb}
 

Definition at line 38 of file calculate\-I\-P.\-py.

\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_a228865dceefdafbd8dd3456f85057ef2}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!get\-\_\-net\-\_\-size@{get\-\_\-net\-\_\-size}}
\index{get\-\_\-net\-\_\-size@{get\-\_\-net\-\_\-size}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{get\-\_\-net\-\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}def get\-\_\-net\-\_\-size (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{mask2}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_a228865dceefdafbd8dd3456f85057ef2}
\begin{DoxyVerb}Converts netmask from x.x.x.x to /x mode.

Keyword arguments:
mask2 -- Netmask to Convert\end{DoxyVerb}
 

Definition at line 26 of file calculate\-I\-P.\-py.



\subsection{Field Documentation}
\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_afd65cf072a93c93ad52b9f25b341e10b}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!ip@{ip}}
\index{ip@{ip}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{ip}]{\setlength{\rightskip}{0pt plus 5cm}ip}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_afd65cf072a93c93ad52b9f25b341e10b}


Definition at line 22 of file calculate\-I\-P.\-py.

\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_a3614d530ca5362d637090250616cf0d3}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!ip\-List@{ip\-List}}
\index{ip\-List@{ip\-List}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{ip\-List}]{\setlength{\rightskip}{0pt plus 5cm}ip\-List}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_a3614d530ca5362d637090250616cf0d3}


Definition at line 24 of file calculate\-I\-P.\-py.

\hypertarget{classsupport_1_1calculate_i_p_1_1_calculate_ip_a5d76cc2129e79ba1941d2cc2f53b9e8e}{\index{support\-::calculate\-I\-P\-::\-Calculate\-Ip@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}!mask@{mask}}
\index{mask@{mask}!support::calculateIP::CalculateIp@{support\-::calculate\-I\-P\-::\-Calculate\-Ip}}
\subsubsection[{mask}]{\setlength{\rightskip}{0pt plus 5cm}mask}}\label{classsupport_1_1calculate_i_p_1_1_calculate_ip_a5d76cc2129e79ba1941d2cc2f53b9e8e}


Definition at line 23 of file calculate\-I\-P.\-py.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
D\-:/vmware shared folder/\-L\-P\-D/trunk/src/portscanner/support/calculate\-I\-P.\-py\end{DoxyCompactItemize}
